package com.pmj.attendance_system.service;

import com.pmj.attendance_system.entity.Punchclock;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 庞明杰
 * @since 2020-04-22
 */
public interface IPunchclockService extends IService<Punchclock> {


    //打卡
    int up_out(Punchclock punchClock);
    //签退
    int add_in(Punchclock punchClock);
    //迟到原因备注
    int late_result(Punchclock punchClock);
    //查询当前用户是否已经打卡
    Punchclock if_punchin(Punchclock punchClock);
    //查询当前用户是否已经签退
    Punchclock if_punchout(Punchclock punchClock);

}
